package com.example.space.dao;

import com.example.space.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.support.JpaEntityInformation;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;

@Repository//可以写也可以不写
//@service @Controller
public interface UserInfoDao extends JpaRepository<UserInfo,Integer> {
    UserInfo findByUsername(String username);
}
